<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org" lang="zh-CN">

<div th:fragment="content">
    <div class="form-group">
            <input class="form-control" name="username" type="hidden" maxlength="32" dbsyncer-valid="require" value="NONE"/>
            <input class="form-control" name="password" type="hidden" maxlength="32" dbsyncer-valid="require" value="NONE"/>
        <label class="col-sm-2 control-label">架构名 <strong class="driverVerifcateRequired">*</strong></label>
        <div class="col-sm-10">
            <input class="form-control" name="schema" type="text" maxlength="32" dbsyncer-valid="require" placeholder="main" th:value="${connector?.config?.schema} ?: 'main'"/>
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">URL <strong class="driverVerifcateRequired">*</strong></label>
        <div class="col-sm-10">
            <textarea name="url" class="form-control dbsyncer_textarea_resize_none" maxlength="1024" dbsyncer-valid="require" rows="5" th:text="${connector?.config?.url} ?: 'jdbc:sqlite:test.db'"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">驱动 </label>
        <div class="col-sm-10">
            <input class="form-control" readonly="true" name="driverClassName" type="text" th:value="${connector?.config?.driverClassName} ?: 'org.sqlite.JDBC'" />
        </div>
    </div>
</div>

</html>